﻿<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="CosmeListMenu.aspx.cs" Inherits="Rmlife.Web.Systems.cosmelist.CosmeListMenu" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<html xmlns="http://www.w3.org/1999/xhtml">
<head id="Head1" runat="server">
    <meta http-equiv="content-type" content="text/html;charset=utf-8" />
    <meta name="robots" content="all" />
    <meta http-equiv="X-UA-Compatible" content="IE=EmulateIE7" />
    <script src="/Js/jquery-1.2.6.min.js" language="javascript"></script>
    <script type="text/javascript">
        $(document).ready(function () {
            document.onkeydown();
            $("#<%=btnSearch.ClientID %>").click(function () {
                $("#xtree").hide();
                $("#loading").Show();
            });
        });

        function document.onkeydown() {

            var e = event.srcElement;

            if (event.keyCode == 13) {

                document.getElementById("btnSearch").focus();

                return true;
            }
        }

    </script>
    <script runat="server">

      

    </script>
    <link href="css/global.css" rel="stylesheet" type="text/css" />
    <link href="css/public.css" rel="stylesheet" type="text/css" />
    <title>无标题页</title>
    <style type="text/css">
        body
        {
            margin: 0px;
            padding: 0px;
            background: url('images/frame_bg.gif');
            background-attachment: fixed;
            background-position: right;
            background-repeat: repeat-y;
            background-color: #E8F2F7;
            scrollbar-base-color: #F5Fafe;
            scrollbar-arrow-color: #86B9D6;
            scrollbar-darkshadow-color: #cad9ea;
            font-size: 12px;
            font-family: Arial;
        }
        a
        {
            font-size: 12px;
            color: #0099cc;
            text-decoration: none;
            vertical-align: middle;
        }
        a:hover
        {
            text-decoration: underline;
        }
        td
        {
            font-size: 12px;
        }
    </style>
</head>
<body>
    <form id="form1" runat="server">
    <div>
        <asp:TextBox ID="txtSearch" CssClass="TextBox" runat="server">
        </asp:TextBox>
        <asp:Button ID="btnSearch" Text="搜索" runat="server" CssClass="Button" OnClick="btnSearch_Click" />
        <div id="loading" style="text-align: center;">
            <asp:Image ID="loadingimg" ImageUrl="images/Uploading.gif" runat="server" />
            加载中。。。</div>
    </div>
    <div id="xtree" class="xtree">
        <asp:TreeView ID="tvList" runat="server" OnTreeNodePopulate="tvList_TreeNodePopulate">
            <SelectedNodeStyle Font-Bold="False" ForeColor="Black" />
            <RootNodeStyle Font-Bold="True" Font-Size="Larger" />
        </asp:TreeView>
        <asp:Label ID="msg" runat="server"></asp:Label>
    </div>
    </form>
</body>
<script type="text/javascript">
    if ($("#loading").fadeOut())
        $("#xtree").fadeIn();
</script>
</html>
